package models

/**
* Created by LONG  on 2018/5/26.
 */

func CountExam(teacherid uint) int {
	var count int
	DB.Model(&Exam{}).Where("teacher_id = ?", teacherid).Count(&count)
	return count
}

func CountClass(teacherid uint) int {
	var count int
	DB.Model(&Class{}).Where("teacher_id = ?", teacherid).Count(&count)
	return count
}

func CountNotice() int {
	var count int
	count = 0
	return count
}
func MustListUnreadComment() []int {
	nums := make([]int, 0)
	return nums
}
